package com.css.fxfzypg.modules.auxiliary.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class MapParam {
    //主键
    private String id;
    //图件名称
    private String name;
    //图件类型
    private String type;
    //发震时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date seismogenicTime;
    //震级
    private String magnitude;
    //震中经度
    private Double longitude;
    //震中纬度
    private Double latitude;
    //图件id
    private String mapId;
}
